import { defHttp } from '/@/utils/http/axios';

export class CustomerApi {
  static findPage (params) {
    return defHttp.get({ url: '/customerInfo/page', params });
  }
  static add (params) {
    return defHttp.post({ url: '/customerInfo/add', params });
  }
  static edit (params) {
    return defHttp.post({ url: '/customerInfo/edit', params });
  }
  static updateStatus (params) {
    return defHttp.post({ url: '/customerInfo/updateStatus', params }, { isTransformResponse: false });
  }
  static detail (params) {
    return defHttp.get({ url: '/customerInfo/detail', params });
  }
  
  static delete (params) {
    return defHttp.post({ url: '/customerInfo/delete', params }, { isTransformResponse: false });
  }
  
  static batchDel (params) {
    return defHttp.post({ url: '/customerInfo/batchDel', params }, { isTransformResponse: false });
  }

}
